Written by the Fiveable Content Team โข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโขWritten by the Fiveable Content Team โข Last updated September 2025
Definition
The entry point of any Java program. It is a special method where program execution begins. It takes an array of strings as input parameters, allowing command-line arguments to be passed to the program.
Related terms
method: A block of code that performs a specific task and can be called upon when needed.
parameter: A variable used in a method declaration, representing values that are passed into the method when it is called.
return type: The data type indicating what value (if any) a method returns after its execution.